/**
 * common css
 */
body {
    width: 100%;
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", tahoma, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    letter-spacing: .5px;
    background-color: #f2f5f6;
    /*
    background-repeat: no-repeat;
    background-image: url(../images/full.webp);
    background-position: center 0;
    */
}
p, fieldset, object {
    padding: 0;
    margin: 0;
    border: 0;
}
button, input, textarea, form, ul, li, blockquote {
    margin: 0;
    padding: 0;
}
div, p {word-wrap:break-word; word-break:break-all;}
a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s linear;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
}
ul {list-style-type: none;}
img {
    max-width: 100%;
}
code, var {
    font-family: Consolas, Monaco;
}

/**
 * custom selection colors
 */
::-moz-selection {color: #fff; color: rgba(255, 255, 255, 0.85); background-color: #ea4c89;}
::selection {color: #fff; color: rgba(255, 255, 255, 0.85); background-color: #ea4c89;}
::-webkit-input-placeholder {
    color: #bbb;
}

#xui-dialog{
    background-image: url(../images/dialog-bg.jpg);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
}

/**
 * util
 */
@keyframes rotateAnimation {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes moveLeft {
    from {
        opacity: 0;
        transform: translateX(5em);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.x-wrapper {
    width: 1201px;
    margin: 0 auto;
}
.x-box-shadow {
    box-shadow: 0 3px 10px 0 rgba(158, 179, 193, .3);
}
.x-pullleft {
    float: left;
}
.x-pullright {
    float: right;
}
.x-clear {clear:both; height:1px; overflow:hidden; font-size:0px;}
.x-divider {
    position: relative;
    display: inline-block;
    width: 1px;
    height: 1em;
    margin: 0 10px;
    vertical-align: middle;
    background-color: #ccc;
}
.x-color-light {
    color: #99a2aa;
}
.x-color-red {
    color: #c7254e;
}


/**
 * form
 */
.x-input {
    display: inline-block;
    box-sizing: border-box;
    height: 34px;
    /* line-height: 34px; */
    padding: 0 10px;
    font-size: 14px;
    color: #666;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    outline: 0;
    border-radius: 4px;
    transition: border-color .2s linear;
}
.x-input-small {
    height: 32px;
}
.x-input-medium {
    height: 36px;
}
.x-input-big {
    height: 38px;
}
.x-input-large {
    height: 40px;
}
.x-input-error {
    border-color: #ff6fa2;
}
.x-input:focus {
    border-color: #7fbbe2;
}
.x-btn {
    display: inline-block;
    box-sizing: border-box;
    height: 34px;
    line-height: 32px;
    padding: 0 15px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border: 1px solid #7fbbe2;
    background-color: #7fbbe2;
    outline: none;
    border-radius: 4px;
    transition: background-color .2s linear;
}
.x-btn-loading {
    position: relative;
}
.x-btn.x-btn-loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7fbbe2;
}
.x-btn.x-btn-loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    background: transparent url(../images/loading-white.svg) no-repeat 0 0;
    background-size: 20px 20px;
    animation: rotateAnimation 1s linear infinite;
}
.x-btn-light {
    color: #7fbbe2;
    background-color: #fff;
}
.x-btn-medium {
    height: 36px;
    line-height: 36px;
}
.x-btn-big {
    height: 38px;
    line-height: 38px;
}
.x-btn-large {
    height: 40px;
    line-height: 40px;
}
.x-btn:hover {
    opacity: .8;
}
.x-btn[disabled] {
    color: #ccc;
    border-color: #d9d9d9;
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.x-select {
    display: inline-block;
    height: 34px;
    padding: 0 15px;
    font-size: 14px;
    color: #666;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.x-select:focus {
    border-color: #7fbbe2;
}
.x-textarea {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 20px;
    color: #666;
    background-color: #fff;
    border: 1px solid #ccc;
    outline: 0;
    border-radius: 4px;
    transition: border-color .2s linear;
    resize: none;
}
.x-textarea:focus {
    border-color: #7fbbe2;
}
.x-table {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    border-collapse: collapse;
    font-size: 14px;
}
.x-table tr:hover td {
    background-color: #e6f7ff;
}
.x-table th {
    padding: 15px 15px;
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
}
.x-table td {
    padding: 15px 15px;
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    transition: background-color .2s linear;
}
.x-table.small th,
.x-table.small td {
    padding: 8px 12px;
}


/**
 * components
 */
.x-mark {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
    margin-right: 10px;
    transition: opacity .2s linear;
}
.x-mark:hover {
    opacity: .8;
}
.x-mark:nth-child(5n) {}
.x-mark:nth-child(5n+1) {
    background-color: #607d8b;
}
.x-mark:nth-child(5n+2) {
    background-color: #ffbb50;
}
.x-mark:nth-child(5n+3) {
    background-color: #1ac756;
}
.x-mark:nth-child(5n+4) {
    background-color: #19b5fe;
}

/**
 * tag
 */
.x-tag {
    position: relative;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 10px 0 32px;
    margin-right: 10px;
    color: #999;
    font-size: 12px;
    background-color: #f3f3f3;
    border-radius: 14px;
    transition: color .2s linear;
}
.x-tag:before {
    position: absolute;
    top: 3px;
    left: 3px;
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: #fff url(../images/tag.png) no-repeat 3px 3px;
    background-size: 16px 16px;
    border-radius: 11px;
}
.x-tag:hover {
    color: #000;
}


.x-section-header {
    line-height: 40px;
    margin-top: 10px;
}
.x-section-header-more {
    font-size: 14px;
}
.x-section-header-title {
    font-size: 20px;
}


.x-loading {
    padding: 10px 0;
    text-align: center;
}
.x-loading i {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: transparent url(../images/loading.svg) no-repeat 0 0;
    animation: rotateAnimation 1s linear infinite;
}
.x-spin-wrapper {
    position: relative;
}
.x-spin-wrapper.spining:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .6);
}
.x-content-empty {
    height: 140px;
    background: url(../images/empty.svg) no-repeat center center;
}

.x-breadcrumb-wrapper {
    line-height: 40px;
    border-bottom: 1px solid #dedede;
}
.x-breadcrumb-item {
    display: inline-block;
    font-size: 14px;
    color: #337ab7;
}
.x-breadcrumb-wrapper > .x-breadcrumb-item + .x-breadcrumb-item:before {
    padding: 0 10px 0 5px;
    content: "/";
}


/**
 * user level
 */
.x-level {
    display: inline-block;
    min-width: 40px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    vertical-align: unset;
    color: #969696;
    border: 1px solid #969696;
    border-radius: 2px;
}
.x-level.x-level-11,
.x-level.x-level-12,
.x-level.x-level-13,
.x-level.x-level-14,
.x-level.x-level-15,
.x-level.x-level-16,
.x-level.x-level-17,
.x-level.x-level-18,
.x-level.x-level-19,
.x-level.x-level-20 {
    color: #61c05a;
    border-color: #61c05a;
}
.x-level.x-level-21,
.x-level.x-level-22,
.x-level.x-level-23,
.x-level.x-level-24,
.x-level.x-level-25,
.x-level.x-level-26,
.x-level.x-level-27,
.x-level.x-level-28,
.x-level.x-level-29,
.x-level.x-level-30 {
    color: #5896de;
    border-color: #5896de;
}
.x-level.x-level-31,
.x-level.x-level-32,
.x-level.x-level-33,
.x-level.x-level-34,
.x-level.x-level-35,
.x-level.x-level-36,
.x-level.x-level-37,
.x-level.x-level-38,
.x-level.x-level-39,
.x-level.x-level-40 {
    color: #a068f1;
    border-color: #a068f1;
}
.x-level.x-level-41,
.x-level.x-level-42,
.x-level.x-level-43,
.x-level.x-level-44,
.x-level.x-level-45,
.x-level.x-level-46,
.x-level.x-level-47,
.x-level.x-level-48,
.x-level.x-level-49,
.x-level.x-level-50 {
    color: #ff86b2;
    border-color: #ff86b2;
}


/**
 * nav
 */
.x-indexnav-container {
    position: relative;
    width: 100%;
    height: 200px;
    top: 0;
    left: 0;
}
.x-nav-wrapper-index {
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 46px;
    line-height: 46px;
}
.x-nav-wrapper {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    line-height: 46px;
}
.x-nav {
    position: relative;
    width: 1200px;
    margin: 0 auto;
}
.x-nav-index {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
}
.x-nav-logo {margin-right: 12px;}
.x-nav-logo img {vertical-align: middle;}
.x-nav-item {
    display: inline-block;
    padding: 0 12px;
    font-size: 14px;
    transition: background-color .2s linear;
}
.x-nav-item:hover {
    background-color: rgba(0, 0, 0, .2);
}
.x-nav-user {
    position: absolute;
    right: 0;
    top: 0;
}
.x-nav-user-avatar {
    width: 40px;
}
.x-nav-user-avatar img {
    width: 40px;
    height: 40px;
    vertical-align: top;
    margin-top: 3px;
    border-radius: 20px;
}
.x-nav-user:hover .x-nav-user-avatar {
    background-color: #fff;
    color: #fff;
    border-color: #ccc;
}
.x-nav-drop-wrapper {
    position: relative;
}
.x-nav-drop-wrapper .x-nav-drop-item {
    text-align: center;
}
.x-nav-drop-wrapper:hover .x-nav-drop,
.x-nav-user:hover .x-nav-drop {
    display: block;
    animation: fadeIn .5s linear;
}
.x-nav-drop {
    position: absolute;
    top: 45px;
    right: 1px;
    width: 200px;
    padding: 8px 0;
    background-color: #fff;
    display: none;

    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 8px 20px 0 rgba(158, 179, 193, .3);
}
.x-nav-drop-item {
    display: block;
    line-height: 40px;
    transition: background-color .2s linear;
    animation: moveLeft ease-out .5s;
}
.x-nav-drop-item:hover {
    background-color: rgba(0, 0, 0, .05);
}
.x-nav-drop-item-side {
    display: inline-block;
    width: 30px;
    margin-left: 12px;
}
.x-nav-search-wrapper {
    position: absolute;
    top: 0;
    right: 120px;
}
.x-nav-search-key {
    width: 100px;
    border: 0;
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 16px;

    transition-property: background-color, width;
    transition-duration: .2s, .2s;
    transition-timing-function: linear, linear;
}
.x-nav-search-key:hover,
.x-nav-search-key:focus {
    background-color: #fff;
    width: 150px;
}
.x-nav-search-icon {
    position: absolute;
    top: 12px;
    right: 10px;
}


/**
 * icons
 */
.x-icon-user {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-image: url(../images/all-icon.png);
    background-repeat: no-repeat;
    background-position: -58px -38px;
}
.x-icon-quit {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-image: url(../images/all-icon.png);
    background-repeat: no-repeat;
    background-position: -58px -8px;
}
.x-icon-home {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-image: url(../images/all-icon.png);
    background-repeat: no-repeat;
    background-position: -58px -130px;
}
.x-icon-write {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-image: url(../images/all-icon.png);
    background-repeat: no-repeat;
    background-position: -8px -158px;
}
.x-icon-search {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../images/all-icon.png) no-repeat -58px -378px;
}
.x-icon-male {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../images/all-icon.png) no-repeat -6px -495px;
}
.x-icon-female {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../images/all-icon.png) no-repeat -54px -496px;
}



/**
 * footer
 */
.x-footer {
    margin-top: 20px;
    font-size: 12px;
    background-color: #fff;
}
.x-footer h3,
.x-footer h5 {
    line-height: 40px;
    padding-top: 10px;
}
.x-footer a {
    display: inline-block;
    line-height: 26px;
    padding: 0 10px;
}
.x-footer a:hover{background-color: #f16c66; border-radius: 4px; color: #fff;}
.x-footer-column {width: 360px; margin-right: 10px;}
.x-footer-column p {line-height: 26px;}
.x-footer-copyright {line-height: 50px; text-align:center;}
/* end footer */


/**
 * water fall
 */
.x-wf-wrapper {position: relative;}
.x-wf-avatar {
    display: inline-block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 20px;
    vertical-align: middle;
}
.x-wf-name {margin-left: 10px;}
/*
.x-wf-col0 { left: 0; }
.x-wf-col1 { left: 244px; }
.x-wf-col2 { left: 488px; }
.x-wf-col3 { left: 732px; }
.x-wf-col4 { left: 976px; }
*/
.x-wf-col {
    position: absolute;
    z-index: 1;
    width: 220px;
    background-color: #fff;
    border-radius: 8px;

    transition-property: left, top;
    transition-duration: .25s, .25s;
    transition-timing-function: linear, linear;
}
.x-wf-col:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    width: 96%;
    height: 1px;
    background-color: #ddd;
    overflow: hidden;
}
.x-wf-img {
    position: relative;
    overflow: hidden;
}
.x-wf-img img {
    width: 100%;
}
.x-wf-img-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .2s linear;
}
.x-wf-img:hover .x-wf-img-mask {
    background-color: rgba(0, 0, 0, .2);
}
.x-wf-time {
    margin: 12px 12px;
    color: #959595;
    font-size: 12px;
}
.x-wf-user {
    margin: 12px 12px;
    font-size: 12px;
}
.x-wf-content {
    display: block;
    line-height: 26px;
    max-height: 80px;
    color: #3c3c3c;
    margin: 12px 12px;
    font-size: 13px;
    overflow: hidden;
}
.x-wf-content:hover {
    color: #f16c66;
}
.x-wf-content h3 {
    font-size: 14px;
    font-weight: bold;
}
.x-wf-footer {
    margin: 12px 12px;
    text-align: right;
    font-size: 12px;
    color: #999;
}


/**
 * general list
 */
.x-generallist-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.x-generallist-item {
    display: inline-block;
    width: 230px;
    margin-top: 10px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    transition: border-color .2s linear;
}
.x-generallist-item:hover {
    border-color: #f16c66;
    background-color: #fef3f2;
}
.x-generallist-item-img-wrapper {
    width: 100%;
    height: 125px;
    overflow: hidden;
}
.x-generallist-item-img {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transition: transform .2s linear;
}
.x-generallist-item-img:hover {
    transform: scale(1.1);
}
.x-generallist-item-title {
    display: flex;
    align-items: center;
    height: 44px;
    line-height: 22px;
    margin: 10px 10px 10px 10px;
    font-weight: normal;
    font-size: 12px;
    overflow: hidden;
    word-break: break-all;
}
.x-generallist-item-user {
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    margin: 10px 10px;
}
.x-generallist-item-user a {
    color: #f16c66;
}


/**
 * page
 */
.x-page {
    padding: 20px 10px;
    font-size: 12px;
    background-color: #fff;
}
/* item */
.x-page a,
.x-page span {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    margin-left: 5px;
    color: #7fbbe2;
    text-decoration: none;
    background-color: #f2f2f2;
    border-radius: 4px;
}
.x-page a:hover {
    color: #fff;
    background-color: #7fbbe2;
    text-decoration: none;
}
/* current */
.x-page span {
    color: #fff;
    cursor: default;
    background-color: #7fbbe2;
}
/* jump */
.x-page div {
    font-size: 12px;
    float: right;
    color: #666;
    height: 28px;
    line-height: 28px;
    padding: 0 5px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.x-page div input {
    font-size: 12px;
    width: 32px;
    text-align: center;
    outline: 0;
    border: 0;
}
.x-page div input:focus {
    border-color: #7fbbe2;
}


/**
 * user popup card
 */
.x-user-popup-wrapper {
    position: absolute;
    z-index: 1000;
    width: 360px;
    font-size: 12px;
    border: 1px solid #e5e9ef;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .2);
}
.x-user-popup-triangle {
    position: absolute;
    z-index: 1001;
    left: 20px;
    width: 0px;
    height: 0px;
    border-width: 10px;
    border-style: solid;
    /* border-color: transparent; */
}
.x-user-popup-triangle-top {
    top: -20px;
    border-color: transparent transparent #ddd transparent;
}
.x-user-popup-triangle-bottom {
    bottom: -20px;
    border-color: #fff transparent transparent transparent;
}
.x-user-popup-bg {
    height: 120px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.x-user-popup-avatar {
    position: absolute;
    z-index: 1001;
    top: 90px;
    left: 20px;
    display: block;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 32px;
}
.x-user-popup-info {
    font-size: 14px;
    text-align: center;
}
.x-user-popup-info-name {
    margin-top: 12px;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    font-weight: bold;
}
.x-user-popup-info-desc {
    height: 32px;
    line-height: 32px;
    overflow: hidden;
}
.x-user-popup-footer {
    padding: 12px 0;
    text-align: center;
}
